home *** CD-ROM | disk | FTP | other *** search
/ Level 2005 Christmas (DVD) / Level_2005-XMAS_134_DVD_Knightshift.iso / Updates / Land of the Dead / System / GUI.u / GUIComponent_GUIFont_ScriptText.TextBuffer < prev    next >
Unknown  |  2005-12-07  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 55 1a 2f 2f 20 43 6f 70 |........|U.// Cop|
|00000010| 79 72 69 67 68 74 20 28 | 43 29 20 32 30 30 35 20 |yright (|C) 2005 |
|00000020| 42 72 61 69 6e 62 6f 78 | 20 47 61 6d 65 73 2e 20 |Brainbox| Games. |
|00000030| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00000040| 76 65 64 2e 0d 0a 2f 2f | 20 53 65 70 74 65 6d 62 |ved...//| Septemb|
|00000050| 65 72 20 32 37 2c 20 32 | 30 30 35 0d 0a 2f 2f 20 |er 27, 2|005..// |
|00000060| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 0d 0a 2f 2f | 20 20 43 6c 61 73 73 3a |====..//| Class:|
|000000b0| 20 20 47 55 49 2e 47 55 | 49 46 6f 6e 74 0d 0a 2f | GUI.GU|IFont../|
|000000c0| 2f 20 0d 0a 2f 2f 20 20 | 47 55 49 46 6f 6e 74 20 |/ ..// |GUIFont |
|000000d0| 69 73 20 75 73 65 64 20 | 74 6f 20 67 69 76 65 20 |is used |to give |
|000000e0| 61 20 73 69 6e 67 6c 65 | 20 70 69 70 65 6c 69 6e |a single| pipelin|
|000000f0| 65 20 66 6f 72 20 68 61 | 6e 64 6c 69 6e 67 20 66 |e for ha|ndling f|
|00000100| 6f 6e 74 73 20 61 74 0d | 0a 2f 2f 09 6d 75 6c 74 |onts at.|.//.mult|
|00000110| 69 70 6c 65 20 72 65 73 | 6f 6c 75 74 69 6f 6e 73 |iple res|olutions|
|00000120| 20 77 68 69 6c 65 20 61 | 74 20 74 68 65 20 73 61 | while a|t the sa|
|00000130| 6d 65 20 74 69 6d 65 20 | 73 75 70 70 6f 72 74 69 |me time |supporti|
|00000140| 6e 67 20 72 65 73 6f 6c | 75 74 69 6f 6e 0d 0a 2f |ng resol|ution../|
|00000150| 2f 09 69 6e 64 65 70 65 | 6e 64 61 6e 74 20 66 6f |/.indepe|ndant fo|
|00000160| 6e 74 73 20 28 66 6f 72 | 20 62 72 6f 77 73 65 72 |nts (for| browser|
|00000170| 73 2c 20 65 74 63 29 2e | 20 0d 0a 2f 2f 0d 0a 2f |s, etc).| ..//../|
|00000180| 2f 20 20 57 72 69 74 74 | 65 6e 20 62 79 20 4a 6f |/ Writt|en by Jo|
|00000190| 65 20 57 69 6c 63 6f 78 | 0d 0a 2f 2f 20 20 28 63 |e Wilcox|..// (c|
|000001a0| 29 20 32 30 30 32 2c 20 | 45 70 69 63 20 47 61 6d |) 2002, |Epic Gam|
|000001b0| 65 73 2c 20 49 6e 63 2e | 20 20 41 6c 6c 20 52 69 |es, Inc.| All Ri|
|000001c0| 67 68 74 73 20 52 65 73 | 65 72 76 65 64 0d 0a 2f |ghts Res|erved../|
|000001d0| 2f 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |/ ======|========|
|000001e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000001f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000200| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000210| 3d 3d 3d 3d 3d 3d 0d 0a | 0d 0a 63 6c 61 73 73 20 |======..|..class |
|00000220| 47 55 49 46 6f 6e 74 20 | 65 78 74 65 6e 64 73 20 |GUIFont |extends |
|00000230| 47 55 49 0d 0a 09 4e 61 | 74 69 76 65 3b 0d 0a 0d |GUI...Na|tive;...|
|00000240| 0a 76 61 72 28 4d 65 6e | 75 29 20 73 74 72 69 6e |.var(Men|u) strin|
|00000250| 67 09 09 4b 65 79 4e 61 | 6d 65 3b 0d 0a 76 61 72 |g..KeyNa|me;..var|
|00000260| 28 4d 65 6e 75 29 20 62 | 6f 6f 6c 09 09 09 62 46 |(Menu) b|ool...bF|
|00000270| 69 78 65 64 53 69 7a 65 | 3b 09 09 2f 2f 20 49 66 |ixedSize|;..// If|
|00000280| 20 74 72 75 65 2c 20 6f | 6e 6c 79 20 46 6f 6e 74 | true, o|nly Font|
|00000290| 41 72 72 61 79 5b 30 5d | 20 69 73 20 75 73 65 64 |Array[0]| is used|
|000002a0| 0d 0a 76 61 72 28 4d 65 | 6e 75 29 20 6c 6f 63 61 |..var(Me|nu) loca|
|000002b0| 6c 69 7a 65 64 20 61 72 | 72 61 79 3c 53 74 72 69 |lized ar|ray<Stri|
|000002c0| 6e 67 3e 09 46 6f 6e 74 | 41 72 72 61 79 4e 61 6d |ng>.Font|ArrayNam|
|000002d0| 65 73 3b 09 2f 2f 20 48 | 6f 6c 64 73 20 61 6c 6c |es;.// H|olds all|
|000002e0| 20 6f 66 20 74 68 65 20 | 6e 61 6d 65 73 20 6f 66 | of the |names of|
|000002f0| 20 74 68 65 20 66 6f 6e | 74 73 20 09 09 0d 0a 76 | the fon|ts ....v|
|00000300| 61 72 28 4d 65 6e 75 29 | 20 61 72 72 61 79 3c 46 |ar(Menu)| array<F|
|00000310| 6f 6e 74 3e 09 46 6f 6e | 74 41 72 72 61 79 46 6f |ont>.Fon|tArrayFo|
|00000320| 6e 74 73 3b 09 2f 2f 20 | 48 6f 6c 64 73 20 61 6c |nts;.// |Holds al|
|00000330| 6c 20 6f 66 20 74 68 65 | 20 66 6f 6e 74 73 0d 0a |l of the| fonts..|
|00000340| 0d 0a 6e 61 74 69 76 65 | 20 65 76 65 6e 74 20 46 |..native| event F|
|00000350| 6f 6e 74 20 47 65 74 46 | 6f 6e 74 28 69 6e 74 20 |ont GetF|ont(int |
|00000360| 58 52 65 73 29 3b 09 09 | 09 2f 2f 20 52 65 74 75 |XRes);..|.// Retu|
|00000370| 72 6e 73 20 74 68 65 20 | 66 6f 6e 74 20 66 6f 72 |rns the |font for|
|00000380| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 72 65 73 | the cur|rent res|
|00000390| 6f 6c 75 74 69 6f 6e 0d | 0a 0d 0a 2f 2f 20 44 79 |olution.|...// Dy|
|000003a0| 6e 61 6d 69 63 61 6c 6c | 79 20 6c 6f 61 64 20 66 |namicall|y load f|
|000003b0| 6f 6e 74 2e 0d 0a 73 74 | 61 74 69 63 20 66 75 6e |ont...st|atic fun|
|000003c0| 63 74 69 6f 6e 20 46 6f | 6e 74 20 4c 6f 61 64 46 |ction Fo|nt LoadF|
|000003d0| 6f 6e 74 53 74 61 74 69 | 63 28 69 6e 74 20 69 29 |ontStati|c(int i)|
|000003e0| 0d 0a 7b 0d 0a 09 69 66 | 28 20 69 3e 3d 64 65 66 |..{...if|( i>=def|
|000003f0| 61 75 6c 74 2e 46 6f 6e | 74 41 72 72 61 79 46 6f |ault.Fon|tArrayFo|
|00000400| 6e 74 73 2e 4c 65 6e 67 | 74 68 20 7c 7c 20 64 65 |nts.Leng|th || de|
|00000410| 66 61 75 6c 74 2e 46 6f | 6e 74 41 72 72 61 79 46 |fault.Fo|ntArrayF|
|00000420| 6f 6e 74 73 5b 69 5d 20 | 3d 3d 20 4e 6f 6e 65 20 |onts[i] |== None |
|00000430| 29 0d 0a 09 7b 0d 0a 09 | 09 64 65 66 61 75 6c 74 |)...{...|.default|
|00000440| 2e 46 6f 6e 74 41 72 72 | 61 79 46 6f 6e 74 73 5b |.FontArr|ayFonts[|
|00000450| 69 5d 20 3d 20 46 6f 6e | 74 28 44 79 6e 61 6d 69 |i] = Fon|t(Dynami|
|00000460| 63 4c 6f 61 64 4f 62 6a | 65 63 74 28 64 65 66 61 |cLoadObj|ect(defa|
|00000470| 75 6c 74 2e 46 6f 6e 74 | 41 72 72 61 79 4e 61 6d |ult.Font|ArrayNam|
|00000480| 65 73 5b 69 5d 2c 20 63 | 6c 61 73 73 27 46 6f 6e |es[i], c|lass'Fon|
|00000490| 74 27 29 29 3b 0d 0a 09 | 09 69 66 28 20 64 65 66 |t'));...|.if( def|
|000004a0| 61 75 6c 74 2e 46 6f 6e | 74 41 72 72 61 79 46 6f |ault.Fon|tArrayFo|
|000004b0| 6e 74 73 5b 69 5d 20 3d | 3d 20 4e 6f 6e 65 20 29 |nts[i] =|= None )|
|000004c0| 0d 0a 09 09 09 4c 6f 67 | 28 22 57 61 72 6e 69 6e |.....Log|("Warnin|
|000004d0| 67 3a 20 22 24 64 65 66 | 61 75 6c 74 2e 43 6c 61 |g: "$def|ault.Cla|
|000004e0| 73 73 24 22 20 43 6f 75 | 6c 64 6e 27 74 20 64 79 |ss$" Cou|ldn't dy|
|000004f0| 6e 61 6d 69 63 61 6c 6c | 79 20 6c 6f 61 64 20 66 |namicall|y load f|
|00000500| 6f 6e 74 20 22 24 64 65 | 66 61 75 6c 74 2e 46 6f |ont "$de|fault.Fo|
|00000510| 6e 74 41 72 72 61 79 4e | 61 6d 65 73 5b 69 5d 29 |ntArrayN|ames[i])|
|00000520| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 72 65 74 75 72 6e |;...}...|..return|
|00000530| 20 64 65 66 61 75 6c 74 | 2e 46 6f 6e 74 41 72 72 | default|.FontArr|
|00000540| 61 79 46 6f 6e 74 73 5b | 69 5d 3b 0d 0a 7d 0d 0a |ayFonts[|i];..}..|
|00000550| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 46 6f 6e 74 20 |..functi|on Font |
|00000560| 4c 6f 61 64 46 6f 6e 74 | 28 69 6e 74 20 69 29 0d |LoadFont|(int i).|
|00000570| 0a 7b 0d 0a 09 69 66 28 | 20 69 3e 3d 46 6f 6e 74 |.{...if(| i>=Font|
|00000580| 41 72 72 61 79 46 6f 6e | 74 73 2e 4c 65 6e 67 74 |ArrayFon|ts.Lengt|
|00000590| 68 20 7c 7c 20 46 6f 6e | 74 41 72 72 61 79 46 6f |h || Fon|tArrayFo|
|000005a0| 6e 74 73 5b 69 5d 20 3d | 3d 20 4e 6f 6e 65 20 29 |nts[i] =|= None )|
|000005b0| 0d 0a 09 7b 0d 0a 09 09 | 46 6f 6e 74 41 72 72 61 |...{....|FontArra|
|000005c0| 79 46 6f 6e 74 73 5b 69 | 5d 20 3d 20 46 6f 6e 74 |yFonts[i|] = Font|
|000005d0| 28 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |(Dynamic|LoadObje|
|000005e0| 63 74 28 46 6f 6e 74 41 | 72 72 61 79 4e 61 6d 65 |ct(FontA|rrayName|
|000005f0| 73 5b 69 5d 2c 20 63 6c | 61 73 73 27 46 6f 6e 74 |s[i], cl|ass'Font|
|00000600| 27 29 29 3b 0d 0a 09 09 | 69 66 28 20 46 6f 6e 74 |'));....|if( Font|
|00000610| 41 72 72 61 79 46 6f 6e | 74 73 5b 69 5d 20 3d 3d |ArrayFon|ts[i] ==|
|00000620| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 09 4c 6f 67 28 | None ).|....Log(|
|00000630| 22 57 61 72 6e 69 6e 67 | 3a 20 22 24 53 65 6c 66 |"Warning|: "$Self|
|00000640| 24 22 20 43 6f 75 6c 64 | 6e 27 74 20 64 79 6e 61 |$" Could|n't dyna|
|00000650| 6d 69 63 61 6c 6c 79 20 | 6c 6f 61 64 20 66 6f 6e |mically |load fon|
|00000660| 74 20 22 24 46 6f 6e 74 | 41 72 72 61 79 4e 61 6d |t "$Font|ArrayNam|
|00000670| 65 73 5b 69 5d 29 3b 0d | 0a 09 7d 0d 0a 09 72 65 |es[i]);.|..}...re|
|00000680| 74 75 72 6e 20 46 6f 6e | 74 41 72 72 61 79 46 6f |turn Fon|tArrayFo|
|00000690| 6e 74 73 5b 69 5d 3b 0d | 0a 7d 0d 0a 0d 0a 00 |nts[i];.|.}..... |
+--------+-------------------------+-------------------------+--------+--------+